package com.sneakxy.jdbc;

import java.util.List;

import com.sneakxy.config.Jdbc;

/**
 * 数据库方言
 * @author 潜行的青衣
 * @see
 */
public interface Dialect {

	public void setUrl(String url);
	
	public String getTablesSql();
	
	public String getSelectNone(String table);
	
	public String getCatalog(Jdbc jdbc, String tableName);
	
	public String getSchema(Jdbc jdbc, String tableName);
	
	public String getCreateSql(String tableName, String sql, String charset);
	
	public String getCreateUnionSql(List<String> union, String tableName, String sql, String charset);

	public String[] getAlterTableSql(List<String> union, String tableName, String alterSql, String createSql, String charset);
	
}
